import Vue from "vue";
import VueRouter from "vue-router"
import routes from "../routes/routes"
Vue.use(VueRouter)

const router = new VueRouter({
  routes,
  mode:"history",
  //自动加上选中a链接的样式
  linkActiveClass:"active",
  linkExactActiveClass:""
})
export default router
